﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface ISiteOpeningRecords
    {
        OperationResult<List<tb_RPT_SiteOpeningRecord>> GetAllSiteOpeningRecords();
        OperationResult<List<tb_RPT_SiteOpeningRecord>> GetSiteOpeningRecordsByInputDate(DateTime inputdate);
       OperationResult<List<tb_RPT_SiteOpeningRecord>> GetSiteOpeningRecordsByInputDate(DateTime inputdate1, DateTime inputdate2);
       OperationResult<List<tb_RPT_SiteOpeningRecord>> GetSiteOpeningRecordsByContition(string strWeather, string strInputDate, string strProjectName
                                                                   , string strProjectUnit, string strConstructionSite
                                                                   , string strStrengthGrade, string strDesignSlump
                                                                   , string strFactorySlump, string strCement, string strOpeningTime
                                                                   , string strReserveVolume, string strUsingCement, string strProductionLine
                                                                   , string strApproachTo, string strCarryOn, string strCreateBy);
        OperationResult<tb_RPT_SiteOpeningRecord> GetSiteOpeningRecordsById(int id);
        OperationResult<tb_RPT_SiteOpeningRecord> CreateSiteOpeningRecords(tb_RPT_SiteOpeningRecord entity);
        OperationResult<tb_RPT_SiteOpeningRecord> ModifySiteOpeningRecords(tb_RPT_SiteOpeningRecord entity);
        OperationResult<tb_RPT_SiteOpeningRecord> DeleteSiteOpeningRecords(tb_RPT_SiteOpeningRecord entity);
    }
}
